<script>
$(".form_validate").validate();
</script>
<?php echo $this->Form->create("PropertyFinalReview", array('enctype' => 'multipart/form-data', 'type' => 'file', "action" => "add/" . $property_id, 'class' => 'form_validate')); ?>
<?php echo $this->Form->hidden('PropertyFinalReview.property_id', array('value' => $property_id, 'class' => 'required')); ?>
<b><?php echo "Matrícula inmobiliaria No. " . $this->data['Property']['matricula'] ?></b>
<?php echo $this->Form->input('Property.oficina_instrumentos', array('label' => 'Oficina de instrumentos públicos')); ?>
<?php echo $this->Form->input('Property.id', array('value' => $property_id)); ?>
<?php echo $this->Form->input('PropertyFinalReview.calificacion', array('label' => 'Calificación', 'options' => array('Sin registro' => 'Sin registro', 'Cumple' => 'Cumple', 'No cumple' => 'No cumple',))); ?>
<?php echo $this->Form->input('PropertyFinalReview.concepto', array('label' => 'Concepto', 'class' => 'required')); ?>
<br><br>
<?php echo $form->file("PropertyFinalReview.archivo", array('accept' => 'pdf')); ?>
<?php echo $this->Form->end(array('label'=>'Guardar','class'=>'submit_button')) ?>
